package br.com.pentagrama.util;

import java.net.URL;

import br.com.pentagrama.dto.Parametros;
import br.com.pentagrama.service.IClienteConexao;
import br.com.pentagrama.service.IDownloadUpload;
import br.com.pentagrama.service.ILog;
import br.com.pentagrama.service.IPing;
import br.com.pentagrama.service.TestadorAmbiente;
import br.com.pentagrama.service.impl.ClienteConexao;
import br.com.pentagrama.service.impl.DownloadUpload;
import br.com.pentagrama.service.impl.LogImpl;
import br.com.pentagrama.service.impl.PingHttp;

public class Sistema {

	public static ILog getLog() {
		return LogImpl.getInstance();
	}
	
	public static TestadorAmbiente getTestadorAmbiente() {
		return TestadorAmbiente.getInstance();
	}
	
	public static IClienteConexao getClienteConexao() {
		return ClienteConexao.getInstance();
	}
	
//	public static IClienteUDP getClienteUDP() {
//		
//	}
	
	public static IDownloadUpload getDownloadUpload(URL urlBase) {
		return DownloadUpload.getInstance(urlBase);
	}
	
	public static IPing getPing() {
		return PingHttp.getInstance();
	}
	
	public static Parametros getParametros() {
		return Parametros.getInstance();
	}
}
